<template>
  <h1>属性绑定指令</h1>
  <input type="text" v-bind:value="name">
  <input type="text" :value="name">
  <hr>
  <a href="url">链接 1</a>
  <a :href="url"> 链接 2</a>
</template>
<script setup>
  import {ref} from "vue";

  const name = ref('666')
  const url = ref('https://www.baidu.com')
  url.value = 'https://www.google.com';
</script>


<style scoped>

</style>